@CHARSET "UTF-8";

.home-page {
  background: #f3c580;
  min-height: 100%;
  width: 100%;
  width: 100vw;
  overflow-x: hidden;
  position: relative;
}
.home-page .notice {
  line-height: 1.66666667rem;
  font-size: 0.72222222rem;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  background: #dff8ff;
}
.home-page .notice em {
  position: relative;
  z-index: 1;
  background: url(../../images/farm/horn.png) no-repeat 0.5rem center;
  background-size: 1.52777778rem;
  color: red;
  padding-left: 2.5rem;
  padding-right: 0.27777778rem;
}
.home-page .notice div {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: inherit;
  position: relative;
}
.home-page .notice div span {
  position: absolute;
  animation: notice 12s linear infinite;
  -webkit-animation: notice 12s linear infinite;
  -moz-animation: notice 12s linear infinite;
}
.home-page .userBox {
  position: relative;
  margin-top: 0.27777778rem;
  z-index: 3;
}
.home-page .userBox img.bg {
  display: block;
  width: 100%;
}
.home-page .userBox section {
  text-align: right;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border-bottom: 0.38888889rem solid transparent;
  /*font-size: 0;*/
}
.home-page .userBox .myheadImg {
  position: absolute;
  top: 50%;
  left: 1.33333333rem;
  margin-top: -1.45833333rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  width: 3rem;
  height: 3rem;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;
  z-index: 5;
}
.home-page .userBox button {
  display: inline-block;
  width: 3rem;
  height: 2.86111111rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  background-color: transparent;
  position: relative;
  z-index: 1;
}
.home-page .userBox button:after {
  content: '0';
  color: transparent;
}
.home-page .userBox button.chickmail {
  background-image: url('../../images/home/mailBtn.png');
}
.home-page .userBox button.gamseet {
  background-image: url('../../images/home/gameSetBtn.png');
}
.home-page .userBox button:first-of-type {
  margin-right: 0.25rem;
}
.home-page .userBox button:last-of-type {
  margin-right: 1.44444444rem;
}
.home-page .userBox button.tips:before {
  top: -0.35rem;
  right: -0.2rem;
  position: absolute;
  content: '';
  width: 0.86111111rem;
  height: 0.97222222rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  background-image: url();
}
.home-page .userBox .item {
  position: absolute;
  line-height: 1.11111111rem;
  width: 100%;
  height: 100%;
  top: 0;
  padding-right: 7.94444444rem;
  padding-left: 4.66666667rem;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
.home-page .userBox .item p {
  text-align: left;
  background: #e7c55f;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;
  box-shadow: inset 0 0.13888889rem 0 0 #ce9f22;
  color: #864714;
  font-size: 0.66666667rem;
  border: 1px solid #fffae3;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
.home-page .userBox .item .name {
  width: 100%;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-left: 0.41666667rem;
}
.home-page .userBox .item .clm {
  position: absolute;
  bottom: 0.61111111rem;
  bottom: 0.5rem;
  text-align: right;
  width: 48%;
  padding-right: 0.38888889rem;
}
.home-page .userBox .item .clm:after {
  -webkit-transform: scale(0.9, 0.9);
  -moz-transform: scale(0.9, 0.9);
  -ms-transform: scale(0.9, 0.9);
  -o-transform: scale(0.9, 0.9);
  transform: scale(0.9, 0.9);
  left: -0.4rem;
  content: '';
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  position: absolute;
  top: 50%;
}
.home-page .userBox .item .clm-l {
  left: 0;
}
.home-page .userBox .item .clm-l:after {
  width: 1.72222222rem;
  height: 1.30555556rem;
  background-image: url('../../images/farm/egg.png');
  margin-top: -0.65277778rem;
}
.home-page .userBox .item .clm-r {
  right: 0;
}
.home-page .userBox .item .clm-r:after {
  width: 1.63888889rem;
  height: 1.36111111rem;
  background-image: url('../../images/farm/chicken.png');
  margin-top: -0.68055556rem;
}
.home-page .userBox .item .clm.round:after {
	width: 1.2rem
}

.home-page .userBox .item-content {
  height: 100%;
  position: relative;
  padding-top: 0.5rem;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
.home-page .userBox .vine {
  position: absolute;
  height: 6rem;
  top: -0.27777778rem;
}
.home-page .userBox .l-vine {
  left: 0;
}
.home-page .userBox .r-vine {
  right: 0;
}


/*首页*/
.home-page.home {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-color: #eee;
  background-color: transparent;
  background-image: url('../../images/home/home-bg.png');
}
.dataEdit {
  z-index: 1;
  position: absolute;
  top: 0.33333333rem;
  right: 0;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  width: 1.22222222rem;
  height: 1.58333333rem;
  background-image: url();
}
.home-menus {
  position: absolute;
  bottom: 0;
  width: 100%;
}
.home-menus button {
  width: 25%;
  float: left;
  height: 4.97222222rem;
  background: none;
  background: url('../../images/home/home-footer.png') no-repeat;
  background-size: 400%;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  transition-timing-function: cubic-bezier(0, 0.74, 0.52, 1.38);
}
.home-menus button.PY {
  background-position: 0%;
}
.home-menus button.shop {
  background-position: 35%;
}
.home-menus button.log {
  background-position: 66%;
}
.home-menus button.rule {
  background-position: 100%;
}
.home-menus button.cur {
  -webkit-transform: scale(1.2, 1.2);
  -moz-transform: scale(1.2, 1.2);
  -ms-transform: scale(1.2, 1.2);
  -o-transform: scale(1.2, 1.2);
  transform: scale(1.2, 1.2);
  transform-origin: bottom;
}
/*图表*/
.chart-title {
  position: absolute;
  z-index: 1;
  width: 10.05555556rem;
  left: 50%;
  margin-left: -5.02777778rem;
  margin-top: -0.44444444rem;
}
section.chart {
  position: absolute;
  width: 100%;
  top: 7.13888889rem;
  bottom: 5.16666667rem;
}
section.chart:after {
  content: '';
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  bottom: 4.72222222rem;
  background: url('../../images/home/paper.png') no-repeat;
  background-size: 100% 100%;
}
section.chart .board,
section.chart .paper {
  position: absolute;
  width: 100%;
}
section.chart .board {
  height: 100%;
}
section.chart button {
  width: 80%;
  z-index: 1;
  position: absolute;
  left: 50%;
  margin-left: -40%;
  bottom: 1.11111111rem;
  color: #fff;
  font-size: 1.27777778rem;
  text-align: center;
  text-shadow: 0 0 #a95800;
}
#LineChart {
  z-index: 1;
  width: 86%;
  left: 50%;
  margin-left: -43%;
  position: absolute;
  top: 2.69444444rem;
  bottom: 5.44444444rem;
}
#LineChart > div {
  position: absolute !important;
}
#LineChart .subtext {
  font-size: 0.66666667rem;
  color: #f46424;
  margin-left: 1.77777778rem;
}
#LineChart .publicSubtext {
  font-size: 0.66666667rem;
  color: #87CEFA;
  margin-left: 1.77777778rem;
}
/*图表 end*/
button.yellowBtn {
  background: none;
  height: 3.27777778rem;
  line-height: 3.27777778rem;
  background: url();
  background-size: 100% 100%;
}
button.yellowBtn:before {
  content: '';
  position: absolute;
  width: 0.94444444rem;
  height: 100%;
  top: 0;
  left: -0.88888889rem;
  background: url() no-repeat right top;
  background-size: auto 100%;
}
button.yellowBtn:after {
  content: '';
  position: absolute;
  width: 0.94444444rem;
  height: 100%;
  top: 0;
  right: -0.88888889rem;
  background: url() no-repeat left top;
  background-size: auto 100%;
}
button.yellowBtn:active {
  background-image: url();
}
button.yellowBtn:active:before {
  background-image: url();
}
button.yellowBtn:active:after {
  background-image: url();
}
button.yellowBtn span {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  line-height: 2.77777778rem;
  text-shadow: 0 0 1px #a95800,0 0 1px #a95800,0 0 2px #a95800,0 0 1px #a95800,0 0 1px #a95800,0 0 2px #a95800;
}
/*首页 end*/

@keyframes notice {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
@-webkit-keyframes notice {
  0% {
    -webkit-transform: translateX(100%);
  }
  100% {
    -webkit-transform: translateX(-100%);
  }
}
@-moz-keyframes notice {
  0% {
    -moz-transform: translateX(100%);
  }
  100% {
    -moz-transform: translateX(-100%);
  }
}

